package com.example.lin.day9_26.pojo;

public class User {

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", height=" + height +
                ", isBoy=" + isBoy +
                '}';
    }

    /**
     * name : 张三
     * age : 18
     * sex : 男
     * height : 177.7
     * isBoy : true
     */
    private String name;
    private int age;
    private String sex;
    private double height;
    private boolean isBoy;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public boolean isIsBoy() {
        return isBoy;
    }

    public void setIsBoy(boolean isBoy) {
        this.isBoy = isBoy;
    }
}
